V2EX  ›  英汉词典

Base Pointer

释义 Definition

基址指针/基指针:在计算机系统与汇编语言中,指向当前栈帧(stack frame)基准位置的指针/寄存器,用于稳定地访问函数的局部变量、参数与保存的返回地址等。常见于 x86 架构中的 BP/EBP/RBP。(在某些场景下也可泛指“作为基准的指针”。)

发音 Pronunciation (IPA)

/beɪs ˈpɔɪntər/

例句 Examples

The base pointer helps the debugger show local variables correctly.
基址指针能帮助调试器正确显示局部变量。

When the function is called, the compiler may save the old base pointer and set a new base pointer to build a stack frame.
当函数被调用时,编译器可能会保存旧的基址指针,并设置新的基址指针来建立栈帧。

词源 Etymology

base 源自希腊语与拉丁语中表示“底部、基础”的词根(经由法语进入英语);pointer 来自 point(“指向/点”)加名词后缀 -er(“……的人/物”)。合起来在计算机语境中表示“指向作为基准位置的指针”,尤其指栈帧的基准指针。

相关词 Related Words

文学/著作中的用例 Literary / Notable Works

  • Computer Systems: A Programmer’s Perspective(深入讲解栈帧、寄存器与调用约定,常讨论基址指针/帧指针概念)
  • Operating Systems: Three Easy Pieces(涉及过程调用、栈与低层机制时会使用相关术语)
  • Programming from the Ground Up(汇编入门书,讲解函数调用与栈帧时常出现 base pointer/frame pointer)
  • x86-64 Assembly Language Programming with Ubuntu(x86-64 汇编教材,讨论 RBP 等寄存器与栈帧建立)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   930 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 18:14 · PVG 02:14 · LAX 10:14 · JFK 13:14
♥ Do have faith in what you're doing.